#notify-container{:style => "display:none"}
  #notice
    = link_to "x", "#", :class => "ui-notify-cross ui-notify-close"
    %p{:style => "float:left;margin:0 10px 0 0"}
      = image_tag image_path("icons/notification.png"), :alt => "warning"
    %p= "\#{text}"
  #alert
    = link_to "x", "#", :class => "ui-notify-close ui-notify-cross"
    %p{:style => "float:left;margin:0 10px 0 0"}
      = image_tag image_path("icons/alert.png"), :alt => "warning"
    %p= "\#{text}"
- if notice || alert
  :javascript
    $(function() {
      ShowNotify("#{notice || alert}", "#{notice ? 'notice' : 'alert'}");
    });